package gov.ccswj.modules.ccbusiness.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import gov.ccswj.modules.ccbusiness.dao.CMortgageinfoDao;
import gov.ccswj.modules.ccbusiness.entity.CMortgageinfoEntity;
import gov.ccswj.modules.ccbusiness.service.CMortgageinfoService;



@Service("cMortgageinfoService")
public class CMortgageinfoServiceImpl implements CMortgageinfoService {
	@Autowired
	private CMortgageinfoDao cMortgageinfoDao;
	
	@Override
	public CMortgageinfoEntity queryObject(Integer id){
		return cMortgageinfoDao.queryObject(id);
	}
	
	@Override
	public List<CMortgageinfoEntity> queryList(Map<String, Object> map){
		return cMortgageinfoDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return cMortgageinfoDao.queryTotal(map);
	}
	
	@Override
	public void save(CMortgageinfoEntity cMortgageinfo){
		cMortgageinfoDao.save(cMortgageinfo);
	}
	
	@Override
	public void update(CMortgageinfoEntity cMortgageinfo){
		cMortgageinfoDao.update(cMortgageinfo);
	}
	
	@Override
	public void delete(Integer id){
		cMortgageinfoDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		cMortgageinfoDao.deleteBatch(ids);
	}
	
}
